﻿The bounding polyline should have the dimensionality of 2.